/*  :root -> 获取根元素html  */
:root {
  --color-text: rgb(77, 85, 93);
  --color-high-text: rgb(240, 20, 20);
  --color-tint: rgb(147, 153, 159);
  --color-title: rgb(7, 17, 27);
  --color-background: #fff;
  --font-size: 14px;
  --line-height: 1.5;
}

/*解决移动端1px边框问题*/
/*有考虑到旧版webkit的兼容性*/
@media (-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5) {
  .border-1px::after {
    -webkit-transform: scaleY(0.7);
    transform: scaleY(0.7);
  }
}

@media (-webkit-min-device-pixel-ratio: 2),(min-device-pixel-ratio: 2) {
  .border-1px::after {
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
}

*,
*::before,
*::after {
  user-select: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*清除浮动*/
.clearfix::before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

body {
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  user-select: none; /* 禁止用户鼠标在页面上选中文字/图片等 */
  -webkit-tap-highlight-color: transparent; /* webkit是苹果浏览器引擎，tap点击，highlight背景高亮，color颜色，颜色用数值调节 */
  background: var(--color-background);
  color: var(--color-text);
  width: 100vw;
}

a {
  /*自定义所有a标签文字s初始颜色*/
  color: var(--color-text);
  text-decoration: none;
}

/* 清除斜体 */
em, i {
  font-style: normal;
}

/* 去掉小圆点 */
li {
  list-style: none;
}

/* border 0 是为了照顾低版本浏览器 如果图片外面包含了链接会有边框的问题 */

/*img {*/
/*  border: 0;*/
/*  !* 取消图片底侧有空白缝隙的问题 *!*/
/*  vertical-align: middle;*/
/*}*/

button {
  /* 当我们鼠标经过button    按钮的时候 ，鼠标变成小手 */
  cursor: pointer;
}
button, input {
  /* 所有按钮、input指定字体 */
  /* "\5B8B\4F53" 是宋体的意思 这样浏览器兼容性更好 */
  font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
  border: 0;
  outline: 0;
}



.clear-fix::after {
  clear: both;
  content: '';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.clear-fix {
  zoom: 1;
}

.arrow-right {
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  width: 9px;
  height: 9px;
  background-color: transparent;
  transform: rotate(135deg);
  display: inline-block;
  margin-left: .1rem;
}

.left {
  float: left;
}

.right {
  float: right;
}

input {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: normal;
  border-radius: 0;
  border: 0;
  font-size: .16rem;
  outline: none;
}
